package com.ta.gulimall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ta.gulimall.product.view.entity.CategoryEntity;
import com.ta.gulimall.product.view.vo.CategoryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品三级分类
 * 
 * @author tuao
 * @email tuaoo@gmail.com
 * @date 2022-10-27 16:31:57
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {

   List<CategoryVo> selectByParentCid(@Param("pids") List<Long> pids);
}
